package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.UserSettingParam;
import com.project.hqshorttaxi.entity.UserSetting;

import java.util.List;

public interface UserSettingService {

    UserSetting getById(Integer id);

    void insert(UserSetting entity) throws Exception;

    void update(UserSetting entity) throws Exception;

    void delete(Integer id) throws Exception;

    List<UserSetting> list(UserSettingParam param);

    List<UserSetting> listByGroup(UserSettingParam param);

    UserSetting getByGroupSetName(String group, String name);
}
